/*
 * Created on 08/04/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package model.cargarDatos;

import java.util.ArrayList;
import java.util.Calendar;

import com.stefanini.pe.bbva.mbl.in.bo.iface.CargaConfigBO;
import com.stefanini.pe.bbva.mbl.in.bo.iface.CargaConfigDetBO;

/**
 * @author ltorres
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class CargarDataModel {
	public CargarDataModel(){
		reset();
	}
	private int codCarga;
	private ArrayList listarConfiguracion = new ArrayList();
	CargaConfigBO cargarConfiguraService = null;
	CargaConfigDetBO cargaConfiguraDetService =null;
	private String hh;
	
	/**
	 * @return Returns the hh.
	 */
	public String getHh() {
		return hh;
	}
	/**
	 * @param hh The hh to set.
	 */
	public void setHh(String hh) {
		this.hh = hh;
	}
	/**
	 * @return Returns the cargaConfiguraDetService.
	 */
	public CargaConfigDetBO getCargaConfiguraDetService() {
		return cargaConfiguraDetService;
	}
	/**
	 * @param cargaConfiguraDetService The cargaConfiguraDetService to set.
	 */
	public void setCargaConfiguraDetService(
			CargaConfigDetBO cargaConfiguraDetService) {
		this.cargaConfiguraDetService = cargaConfiguraDetService;
	}
	/**
	 * @return Returns the cargarConfiguraService.
	 */
	public CargaConfigBO getCargarConfiguraService() {
		return cargarConfiguraService;
	}
	/**
	 * @param cargarConfiguraService The cargarConfiguraService to set.
	 */
	public void setCargarConfiguraService(CargaConfigBO cargarConfiguraService) {
		this.cargarConfiguraService = cargarConfiguraService;
	}
	/**
	 * @return Returns the listarConfiguracion.
	 */
	public ArrayList getListarConfiguracion() {
		return listarConfiguracion;
	}
	/**
	 * @param listarConfiguracion The listarConfiguracion to set.
	 */
	public void setListarConfiguracion(ArrayList listarConfiguracion) {
		this.listarConfiguracion = listarConfiguracion;
	}
	public void reset(){
		System.out.println("-------> Ingreso al Reset <----------");
		Calendar ahoraCal = Calendar.getInstance();
		this.listarConfiguracion=new ArrayList();
	}
	/**
	 * @return Returns the codCarga.
	 */
	public int getCodCarga() {
		return codCarga;
	}
	/**
	 * @param codCarga The codCarga to set.
	 */
	public void setCodCarga(int codCarga) {
		this.codCarga = codCarga;
	}
}
